package com.yh.dao;

import com.yh.javabean.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: als
 * @Date: 2024/5/23 - 05 - 23 - 11:13
 * @Description: com.yh.dao
 * @version: 1.0
 */
public interface OrdersDao {
    //查询所有订单信息
    List<Orders> selectAll();

    List<Orders> selectAllKey(@Param("orderNum") String orderNum, @Param("productName")  String productName);

    Orders selectById(int oid);
}
